//
//  MyCollectionViewCell.m
//  LastTemp
//
//  Created by dllo on 15/4/30.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MyCollectionViewCell.h"
#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height

@implementation MyCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
       
        
        
        
        self.myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT-20)];
        self.myImageView.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:self.myImageView];
        [_myImageView release];
        self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, HEIGHT-20, WIDTH, 20)];
        self.myLabel.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:self.myLabel];
        [_myLabel release];
        self.myLabel.font = [UIFont systemFontOfSize:13];
    
    }
    return self;
}

@end
